area of a circle segment in php

111

<?php  $r=12;$x=12; $s=(pow($r,2)/2)*($x-sin((3.14/180)*$x)); echo sprintf("\nArea of Segment Circle = %f",$s);?>

Comments

Submit
0 Comments